From cb3c1c7452136fc36ffedf52c47ba9cab4f80e7c Mon Sep 17 00:00:00 2001 From: oliskoli Date: Thu, 11 Sep 2008 20:43:59 +0000 Subject: [PATCH] mapsend: Switch parameter order (size/members) of 'gbfwrite'. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3483 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/mapsend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/mapsend.c b/gpsbabel/mapsend.c index ab91003a6..a47f5b0cb 100644 --- a/gpsbabel/mapsend.c +++ b/gpsbabel/mapsend.c @@ -300,7 +300,7 @@ mapsend_waypt_pr(const waypoint *waypointp) if (c > 30) c = 30; gbfputc(c, mapsend_file_out); - gbfwrite(tmp, c, 1, mapsend_file_out); + gbfwrite(tmp, 1, c, mapsend_file_out); /* #, icon, status */ gbfputint32(++cnt, mapsend_file_out); @@ -374,7 +374,7 @@ mapsend_route_disp(const waypoint *waypointp) /* waypoint name */ c = waypointp->shortname ? strlen(waypointp->shortname) : 0; gbfwrite(&c, 1, 1, mapsend_file_out); - gbfwrite(waypointp->shortname, c, 1, mapsend_file_out); + gbfwrite(waypointp->shortname, 1, c, mapsend_file_out); /* waypoint number */ gbfputint32(route_wp_count, mapsend_file_out); -- 2.30.2